Lexical Scoping as Universal Quantification
نویسنده
چکیده
A universally quantified goal can be interpreted intensionally, that is, the goal ∀x.G(x) succeeds if for some new constant c, the goal G(c) succeeds. The constant c is, in a sense, given a scope: it is introduced to solve this goal and is "discharged" after the goal succeeds or fails. This interpretation is similar to the interpretation of implicational goals: the goal D ⊃ G should succeed if when D is assumed, the goal G succeeds. The assumption D is discharged after G succeeds or fails. An interpreter for a logic programming language containing both universal quantifiers and implications in goals and the body of clauses is described. In its non-deterministic form, this interpreter is sound and complete for intuitionistic logic. Universal quantification can provide lexical scoping of individual, function, and predicate constants. Several examples are presented to show how such scoping can be used to provide a Prolog-like language with facilities for local definition of programs, local declarations in modules, abstract data types, and encapsulation of state. Comments University of Pennsylvania Department of Computer and Information Science Technical Report No. MSCIS-89-23. This technical report is available at ScholarlyCommons: http://repository.upenn.edu/cis_reports/785 Lixical Scoping As Universal Quantification MS-CIS-89-23 LINC LAB 147
منابع مشابه
A Hybrid System For Quantifier Scoping
1. Introduction A prominent source of ambiguity confronting natural language processing systems is ambiguity of quantifier scope relations. For example, the sentence Some target was hit by every arrow has one reading on which the quantified noun phrase (NP) some target has wider scope than the quantified NP every arrow (some particular target got hit by all the arrows), and another reading on w...
متن کاملAravind K. Joshi, Laura Kallmeyer and Maribel Romero Flexible Composition in Ltag: Quantifier Scope and Inverse Linking
1 Here and throughout this chapter, we will avoid using (singular) indefinites as wide scope quantifiers. This is because the wide scope effect of indefinites can be obtained through a special pseudo-scoping mechanism – namely, choice functions (Kratzer, 1998, Reinhart, 1997) –, and not through the general truly scoping mechanisms that we are concerned with in this chapter. This pseudo-scoping ...
متن کاملEllipsis and Quantification: A Substitutional Approach
The paper describes a substitutional approach to ellipsis resolution giving comparable results to (Dalrymple et al., 1991), but without the need for order-sensitive interleaving of quantifier scoping and ellipsis resolution. It is argued that the orderindependence results from viewing semantic interpretation as building a description of a semantic composition, instead of the more common view of...
متن کاملScoping Constructs in Logic Programming: Implementation Problems and their Solutions
The inclusion of universal quantification and a form of implication in goals in logic programming is considered. These additions provide a logical basis for scoping but they also raise new implementation problems. When universal and existential quantifiers are permitted to appear in mixed order in goals, the devices of logic variables and unification that are employed in solving existential goa...
متن کاملPlurality, Negation, and Quantification: Towards Comprehensive Quantifier Scope Disambiguation
Recent work on statistical quantifier scope disambiguation (QSD) has improved upon earlier work by scoping an arbitrary number and type of noun phrases. No corpusbased method, however, has yet addressed QSD when incorporating the implicit universal of plurals and/or operators such as negation. In this paper we report early, though promising, results for automatic QSD when handling both phenomen...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1989